package com.heima.xianchengchi;

public class MyVolatile {
    public static void main(String[] args) {
        Girl girl = new Girl();
        girl.setName("小路");
        girl.start();
        Boy boy=new Boy();
        boy.setName("小皮");
        boy.start();
    }
}
